home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / p / pov / povlisti.ngs / truchet9.pov < prev    next >
Encoding:
Text File  |  1992-07-11  |  1.3 KB  |  66 lines

  1. // Persistence of Vision Raytracer Version 1.0
  2. // Back to simple 2d paths,  but with a different sort of tile.
  3. #include "colors.inc"
  4. #include "shapes.inc"
  5. #include "shapes2.inc"
  6. #include "textures.inc"
  7.  
  8. camera {
  9.     location <0 12 -15>
  10.     direction <0 0 1>
  11.     up  <0 1 0>
  12.     right <1.33333 0 0>
  13.     look_at <0 3 0>
  14. }
  15.  
  16.  
  17. object {
  18.    light_source { <10 50 -50>
  19.    colour red 0.95 green 0.95 blue 0.85
  20.     }
  21. }
  22. object {
  23.    light_source { <-5 150 -50>
  24.    colour Gray35
  25.     }
  26. }
  27.  
  28.  
  29. #include "tile9.inc"
  30.  
  31. #declare Block = composite {
  32. composite { Tiles rotate <90 0 0> translate <0 6 0> }     // Top
  33. composite { Tiles                 translate <0 0 -6>}     // Front
  34. composite { Tiles rotate <0 90 0> translate <6 0 0> }     // Right
  35. }
  36.  
  37. composite { Block rotate <0 45 0>}
  38. object {
  39.     sphere { <0 8 0> 2 }
  40.     texture {
  41.         0.0125            // minimize banding
  42.         color Color2
  43.         reflection 0.85
  44.         specular 1
  45.         roughness 0.001
  46.     }
  47. }
  48. object {
  49.     sphere { <3 7 -2> 1 }
  50.     texture {
  51.         color Color1
  52.         reflection 0.85
  53.         specular 1
  54.         roughness 0.001
  55.     }
  56. }
  57. object {
  58.     sphere { <-3 8.5 -6> 0.5 }    // This one floats
  59.     texture {
  60.         color Orange
  61.         reflection 0.85
  62.         specular 1
  63.         roughness 0.001
  64.     }
  65. }
  66.